package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PtservicelistDao;
import com.bootdo.screen.domain.PtservicelistDO;
import com.bootdo.screen.service.PtservicelistService;



@Service
public class PtservicelistServiceImpl implements PtservicelistService {
	@Autowired
	private PtservicelistDao ptservicelistDao;
	
	@Override
	public PtservicelistDO get(Integer id){
		return ptservicelistDao.get(id);
	}
	
	@Override
	public List<PtservicelistDO> list(Map<String, Object> map){
		return ptservicelistDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ptservicelistDao.count(map);
	}
	
	@Override
	public int save(PtservicelistDO ptservicelist){
		return ptservicelistDao.save(ptservicelist);
	}
	
	@Override
	public int update(PtservicelistDO ptservicelist){
		return ptservicelistDao.update(ptservicelist);
	}
	
	@Override
	public int remove(Integer id){
		return ptservicelistDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return ptservicelistDao.batchRemove(ids);
	}

	@Override
	public int saveUpdate(PtservicelistDO ptservicelist) {
		return ptservicelistDao.saveUpdate(ptservicelist);
	}

}
